package main

import "fmt"

/*定义结构体*/
type Controller struct {
	M int32
}

/*定义接口*/
type HttpMethod interface {
	Get()
	Post()
}

func (c *Controller) Get()  {
	fmt.Print("GET")
}

func (c *Controller) Post() {
	fmt.Print("POST")
}
